While homotopy type theory formalizes homotopy theory, it is not a priori clear – and in fact is or was an open problem – how to formalize general homotopy-coherent structures of higher algebra/higher category theory: Since these typically involve an infinite hierarchy of coherence-conditions, these cannot be axiomatized directly, but one needs some scheme that generates them. This turned out to be subtle.
Eric Finster had previously considered another variant of type theory, called opetopic type theory which natively talks about infinity-categories and their higher coherences by type-theoretically formalizing the structure of opetopic sets. In new work Finster 18 he gives something like an implementation of aspects of opetopic type theory within homotopy type theory and provides evidence that this yields a tool to solve the general problem of coherences of higher algebra/higher category theory within homotopy type theory.
Polynomials serve as a notion of “higher signature”. Following ideas from the categorical approach to universal algebra, we are going to encode the relations or axioms of our structure using a monadic multiplication on P.
In Eric’s Agda formalisation and talk, a polynomial has its parameter sorts encoded with the parameter. We will follow a suggestion by Mike to have a function instead. This should make some definitions less cluttered.
Let be a type of sorts. A polynomial over consists of the following data:
We define the type of operations of a polynomial as:
A polynomial generates a type of trees:
The inductive famiy has constructors
For a tree we define its type of leaves by induction on .
and its type of nodes:
Let be a tree and an operation. A frame from to is an equivalence:
i.e. the type of leaves of the tree is equivalent to the type of parameters of the operator.
A polynomial relation for is a type family:
Let and let be a relation on . The slice of by , denoted , is the polynomial with sorts defined as follows:
TODO: Continue writing this out. Essentially following this coq file
Here we collect the definitions and ideas that were given in Eric’s talk. We can also use the Agda formalisation for reference too.
Fix a type of sorts. A polynomial over , , is the data of
For , an element represents an operation whose output sort is .
For and , and element represents an input parameter of sort .
The and are not truncated at set level. So operations and parameters can have higher homotopy.
In HoTT book notation, we can write the previous definition as:
We start with the simplest non-trivial example, when the unit type. Looking at we clearly have . So is simply a type. Next we have so is just a family of types indexed over the type .
Now if then there would be 3 operations. Take one of these operations and call it , would then have to chose what the type of parameters should be, let’s choose . This would mean that would be an operation () with two parameters . Note is very much like the operator in an abstract syntax tree in this case.
When the type of sorts gets more structure, the objects we discuss get complicated quickly. Even letting be some arbitrary type gives us an interesting object.
A polynomial generates an associated type of trees.
The type of trees associated to a polynomial is an inductive family that has constructors
For a tree , we will need its type of leaves and type of nodes
The type of leaves of a tree is given by:
The type of nodes of a tree is given by:
Let be a polynomial a tree and an operation. A frame from to is a family of equivalences
A polynomial relation for is a type family:
Eric Finster, Towards Higher Universal Algebra in Type Theory, Homotopy Type Theory Electronic Seminar 2018 (compact pdf slides, original pdf slides, recording)
Agda code at: github.com/ericfinster/higher-alg
The idea of opetopic sets that Finster 18 is inspired by goes back to
Last revised on June 9, 2022 at 07:40:55. See the history of this page for a list of all contributions to it.